﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HISModels.ViewModel
{
    public class ViewDataDoctor
    {
        public ViewDataDoctor()
        {
            DoctorId = 0;
            EmployeeId = 0;
            EmployeeNumber = string.Empty;
            DoctorCode = string.Empty;
            DoctorHuRelId = 0;
            DoctorSpecRelId = 0;
            FirstName = string.Empty;
            MiddleName = string.Empty;
            LastName = string.Empty;
            Address = null;
            GroupSpecialistId = 0;
            GroupSpecialist = string.Empty;
            SpecialistId = 0;
            Specialist = string.Empty;
            SubSpecialistId = 0;
            SubSpecialist = string.Empty;
            RecordStatus = 0;
        }

        public int DoctorId { get; set; }
        public int EmployeeId { get; set; }
        public string EmployeeNumber { get; set; }
        public string DoctorCode { get; set; }

        public int DoctorHuRelId { get; set; }
        public int DoctorSpecRelId { get; set; }

        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
        public string FullName { get { return FirstName + (MiddleName != string.Empty ? MiddleName : " ") + LastName; }}
        public ViewDataAddress Address { get; set; }

        public int GroupSpecialistId { get; set; }
        public string GroupSpecialist { get; set; }

        public int SpecialistId { get; set; }
        public string Specialist { get; set; }

        public int SubSpecialistId { get; set; }
        public string SubSpecialist { get; set; }

        public int? RecordStatus { get; set; }

    }
}
